home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Xteq X-Setup
/
xqdcXSP-Setup-EN.exe
/
{app}
/
plugins
/
XQ WinXP Find Files Options 1.xpl
< prev
next >
Wrap
Text File
|
2004-01-30
|
2KB
|
82 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="5"
"UIPATH 1"="Appearance\System\Find Files Dialog"
"UIPATH 2"="Appearance\Start menu\Windows XP\Classic Start Menu"
"UIPATH 3"="Appearance\Start menu\Windows XP\New Start Menu"
"NAME"="Find Files Dialog Options"
"VERSION"="1.02"
"LANGUAGE"="VBScript"
"OSVERSION"="0000011"
"TEXT 1"="Activate "Search hidden files" option"
"TEXT 2"="Activate "Search system folders" option"
"TEXT 3"="Activate "Search inside subfolders" option"
"TEXT 4"="Activate "Search backup sets" option"
"TEXT 5"="Activate "Search is case sensitive" option"
"DESCRIPTION 1"="To change these advanced options inside the Find -> Files menu, you need to go through a lot of dialogs."
"DESCRIPTION 2"="This plug-in allows you to change the options directly."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
'Declaration of some constants
sP="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\"
sV1=sP & "SearchHidden"
sV2=sP & "SearchSystemDirs"
sV3=sP & "IncludeSubFolders"
sV4=sP & "SearchSlowFiles"
sV5=sP & "CaseSensitive"
'Called when the Plugin is started
SUB Plugin_Initialize
i=RegReadValue(sV1) 'DW
If i=1 then SetUIElement 1,true
i=RegReadValue(sV2) 'DW
If i=1 then SetUIElement 2,true
i=RegReadValue(sV3) 'DW
If i=1 then SetUIElement 3,true
i=RegReadValue(sV4) 'DW
If i=1 then SetUIElement 4,true
i=RegReadValue(sV5) 'DW
If i=1 then SetUIElement 5,true
END SUB
'Called when the Plugin should validate the Data the user has entered
SUB Plugin_CheckData(ElementIndex)
END SUB
'Called when the Plugin should apply the changes
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
Call WriteIt(1,sV1)
Call WriteIt(2,sV2)
Call WriteIt(3,sV3)
Call WriteIt(4,sV4)
Call WriteIt(5,sV5)
Call Logoff
END SUB
Sub WriteIt(ITM,PATH)
b=GetUIElement(ITM)
if b=true then
Call RegWriteValue(PATH,1,2)
else
Call RegWriteValue(PATH,0,2)
end if
End Sub
'Called when the Plugin is about to be removed from memory
SUB Plugin_Terminate
END SUB